﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApi.Areas.Service.Models
{
    public class ReturnData<T>
    {
        public bool success { get; set; }

        public string error { get; set; }

        public T data {get;set;}
    }

    public class ReturnPageData<T>
    {
        public bool success { get; set; }

        public string error { get; set; }

        public Paging paging { get; set; }

        public T data { get; set; }
    }

    public class Paging
    {
        public int page { get; set; }

        public int pagesize { get; set; }

        public Int64 total { get; set; }
    }
}